package payroll.webapp

class BaseSalary {
	Double monthlySalary
	Double biweeklySalary
	Double dailySalary
	Double hourlySalary
	
    static constraints = {
		employee(nullable:true)
		designation(nullable:true)
		monthlySalary(nullable:true)
		biweeklySalary(nullable:true)
		dailySalary(nullable:true)
		hourlySalary(nullable:true)
    }
	
	static mapping = {
		table "basesalaries"
	}
	
	static belongsTo = [employee:Employee, designation:Designation]
}
